﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace PMQLCHH.DTO
{
    class MatHangDTO
    {
        private string _MaMatHang;
        private string _TenMatHang;
        private int _LoaiMatHang;
        private int _DonViTinh;
        private int _iSoLuongTon;
        private float _GiaThamKhao;
        private string _GhiChu;
        private int _iTrangThai;
        private string _dNgayLap;

        public float GiaThamKhao
        {
            get { return _GiaThamKhao; }
            set { _GiaThamKhao = value; }
        }

        public int LoaiMatHang
        {
            get { return _LoaiMatHang; }
            set { _LoaiMatHang = value; }
        }

        public string NgayLap
        {
            get { return _dNgayLap; }
            set { _dNgayLap = value; }
        }
        public int TrangThai
        {
            get { return _iTrangThai; }
            set { _iTrangThai = value; }
        }

        public int SoLuongTon
        {
            get { return _iSoLuongTon; }
            set { _iSoLuongTon = value; }
        }

        public string Ghichu_MH
        {
            get { return _GhiChu; }
            set { _GhiChu = value; }
        }
        
        public int DonViTinh
        {
            get { return _DonViTinh; }
            set { _DonViTinh = value; }
        }
        
        public string TenMatHang
        {
            get { return _TenMatHang; }
            set { _TenMatHang = value; }
        }
        
        public string MaMatHang
        {
            get { return _MaMatHang; }
            set { _MaMatHang = value; }
        }


        //Kha Nguyen - Mat hang DTO - 6/5/2013 - Begin
        //methods

        public MatHangDTO()
        {
            this.MaMatHang = "";
            this.TenMatHang = "";
            this.LoaiMatHang = 0;
            this.DonViTinh = 0;
            this.SoLuongTon = 0;
            this.GiaThamKhao = 0;
            this.Ghichu_MH = "";
            this.TrangThai = 0;
            this.NgayLap = "";
        }
        //Kha Nguyen - Mat hang DTO - 6/5/2013 - end
    }
}
